package com.entity;

import org.apache.ibatis.type.Alias;

@Alias("BaseConnection")
public class Connection extends BaseEntity {
	
	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	private String id;

	/**
	 * 产品编号
	 */
	private String productId;

	/**
	 * 用户编号
	 */
	private String userId;

	/**
	 * 点击时间
	 */
	private String clickTime;

	/**
	 * 点击状态
	 */
	private Integer clickState;
	
	/**
	 * 用户名称 
	 */
	private String userName;
	
	/**
	 * 产品标题
	 */
	private String productTitle;
	
	/**
	 * 产品简介
	 */
	private String productIntro;
	
	/**
	 * 产品联系方式 
	 */
	private String contactInfor;


	public Connection () {
		super();
	}

	public Connection (String id,String productId,String userId,String clickTime,Integer clickState) {
		this.id = id;
		this.productId = productId;
		this.userId = userId;
		this.clickTime = clickTime;
		this.clickState = clickState;
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getProductIntro() {
		return productIntro;
	}

	public void setProductIntro(String productIntro) {
		this.productIntro = productIntro;
	}

	public String getContactInfor() {
		return contactInfor;
	}

	public void setContactInfor(String contactInfor) {
		this.contactInfor = contactInfor;
	}

	public String getProductId() {
		return this.productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getProductTitle() {
		return productTitle;
	}

	public void setProductTitle(String productTitle) {
		this.productTitle = productTitle;
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getClickTime() {
		return this.clickTime;
	}

	public void setClickTime(String clickTime) {
		this.clickTime = clickTime;
	}

	public Integer getClickState() {
		return this.clickState;
	}

	public void setClickState(Integer clickState) {
		this.clickState = clickState;
	}

	@Override
	public String toString() {
		return "Connection[id=" + id+ ", productId=" + productId + ", userId=" + userId + ", clickTime=" + clickTime + ", clickState=" + clickState + "]";
	}


}

